package com.ts.service.impl;

import com.ts.entities.Users;
import com.ts.mapper.UsersMapper;
import com.ts.service.IUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("iUsersService")
public class UsersServiceImpl implements IUsersService {

    @Autowired
    private UsersMapper usersMapper;

    public List<Users> findUsers() {
        return usersMapper.selectByExample(null);
    }
}
